package com.ruoyi.system.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 阶段监控对象 stage_monitoring
 * 
 * @author ruoyi
 * @date 2021-10-29
 */
public class StageMonitoring extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键自增 */
    private Long id;

    /** 当前大修 */
    @Excel(name = "当前大修")
    private String currentOverhaul;

    /** 阶段 */
    @Excel(name = "阶段")
    private String stage;

    /** 工期 */
    @Excel(name = "工期")
    private String workStage;

    /** 累积剂量 */
    @Excel(name = "累积剂量")
    private BigDecimal cumulativeDoseValue;

    /** 累计工时 */
    @Excel(name = "累计工时")
    private String workTime;

    /** 当日剂量 */
    @Excel(name = "当日剂量")
    private BigDecimal dailyDoseValue;

    /** 时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date time;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setCurrentOverhaul(String currentOverhaul) 
    {
        this.currentOverhaul = currentOverhaul;
    }

    public String getCurrentOverhaul() 
    {
        return currentOverhaul;
    }
    public void setStage(String stage) 
    {
        this.stage = stage;
    }

    public String getStage() 
    {
        return stage;
    }
    public void setWorkStage(String workStage) 
    {
        this.workStage = workStage;
    }

    public String getWorkStage() 
    {
        return workStage;
    }
    public void setCumulativeDoseValue(BigDecimal cumulativeDoseValue) 
    {
        this.cumulativeDoseValue = cumulativeDoseValue;
    }

    public BigDecimal getCumulativeDoseValue() 
    {
        return cumulativeDoseValue;
    }
    public void setWorkTime(String workTime) 
    {
        this.workTime = workTime;
    }

    public String getWorkTime() 
    {
        return workTime;
    }
    public void setDailyDoseValue(BigDecimal dailyDoseValue) 
    {
        this.dailyDoseValue = dailyDoseValue;
    }

    public BigDecimal getDailyDoseValue() 
    {
        return dailyDoseValue;
    }
    public void setTime(Date time) 
    {
        this.time = time;
    }

    public Date getTime() 
    {
        return time;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("currentOverhaul", getCurrentOverhaul())
            .append("stage", getStage())
            .append("workStage", getWorkStage())
            .append("cumulativeDoseValue", getCumulativeDoseValue())
            .append("workTime", getWorkTime())
            .append("dailyDoseValue", getDailyDoseValue())
            .append("time", getTime())
            .toString();
    }
}
